package com.macro.mall.portal.domain;

import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsSkuStock;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class CombinedPmsProduct extends PmsProduct {
    @ApiModelProperty(value = "父级商品规格")
    private PmsSkuStock pmsSkuStock;
    @ApiModelProperty(value = "子级商品规格")
    private List<CombinedPmsProduct> combinedProductList;
    @ApiModelProperty(value = "子级商品在组合商品里的数量")
    private Integer num;
    @ApiModelProperty(value = "可以省多少钱")
    private BigDecimal savePrice;
    @ApiModelProperty(value = "规格")
    private Map<String, List<String>> attributeMap;
    @ApiModelProperty(value = "会员价")
    private BigDecimal memberPrice;
    @ApiModelProperty(value = "非套餐价")
    private BigDecimal notPackagePrice;
}
